<?php
/**
 * @link:http://www.zjhejiang.com/
 * @copyright: Copyright (c) 2018 浙江禾匠信息科技有限公司
 *
 * Created by PhpStorm.
 * User: 风哀伤
 * Date: 2018/7/10
 * Time: 10:47
 */

namespace app\modules\api\models;


class StoreFrom extends Model
{
    public $store;

    public function search()
    {
        $wxappUrl = \Yii::$app->request->hostInfo.\Yii::$app->request->baseUrl.'/statics/wxapp/images';
        $images = [
            'integralMall'=>[ // 模块名称
                'register'=>[ // 小程序页面
                    'register_bg'=>[ // 图片名称
                        'url'=>$wxappUrl.'/register.png' // 图片路径
                    ]
                ]
            ]
        ];

        return $images;
    }
}